package com.project.demo.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 腾讯云COS配置类
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "cos")
public class CosConfig {
    /**
     * COS访问域名
     */
    private String host = "https://code-mother1-1336224501.cos.ap-shanghai.myqcloud.com";
    
    /**
     * SecretId
     */
    private String secretId = "AKIDBF5MWTChyCE5kEUYP1Xquqa6QWO4WkkW";
    
    /**
     * SecretKey
     */
    private String secretKey = "b0GI6jAOQEoAHAoFSSDk490f6JIUXN5j";
    
    /**
     * 地域
     */
    private String region = "ap-shanghai";
    
    /**
     * 存储桶名称
     */
    private String bucket = "code-mother1-1336224501";
    
    /**
     * 存储路径前缀
     */
    private String pathPrefix = "upload/";
}



